package ihm_clarifiee.sauvegarde;

import java.sql.Date;

import ihm_clarifiee.Presentation.*;
import ihm_clarifiee.application.*;

public class Project_State implements State {
	
	private String titre;
	private String description;
	private String objectifs;
	
	private java.util.Date dateDebut;
	private Release releaseActive;
	
	private Projet projet;
	
	public Project_State(Projet p){
		projet = p;
		
		this.titre = p.getTitre();
		this.description = p.getDescription();
		this.objectifs = p.getObjectifs();
		this.dateDebut = p.getDateDebut();
		this.releaseActive = p.getReleaseActive();
	}
	
	public Project_State(String titre,String description,String objectifs,java.util.Date dateDebut2,Release releaseActive){
		this.titre = titre;
		this.description = description;
		this.objectifs = objectifs;
		this.dateDebut = dateDebut2;
		this.releaseActive = releaseActive;
	}
	
	public Projet getProjet(){
		return this.projet;
	}
	
}
